package com.googlecode.todo_robot.persistence;

import com.googlecode.todo_robot.persistence.model.TodoItem;

import java.util.List;

/**
 * @author Fuad Ibrahimov
 * @since 22.12.2009
 */
public interface DbManager {

  void persist(TodoItem todoItem);

  void persistTodo(String owner, String text);

  List<TodoItem> loadTodosOf(String owner);

}
